﻿using System;
using System.Collections.Generic;
using System.Text;

namespace KG.Neo4j
{
    public class RelationInfo
    {
        /// <summary>
        /// nodes-节点 edges-关系
        /// </summary>
        public string group { get; set; }
        /// <summary>
        /// 关系数据
        /// </summary>
        public relationData data { get; set; }
    }
    public class relationData
    {
        /// <summary>
        /// 关系id
        /// </summary>
        public string id { get; set; }
        /// <summary>
        /// 名字
        /// </summary>
        public string name { get; set; }
        /// <summary>
        /// 起始节点名
        /// </summary>
        public string source { get; set; }
        /// <summary>
        /// 结束点名
        /// </summary>
        public string target { get; set; }
    }
}
